﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     代理实体类库
//     通知实体对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using System;
using Dapper;

namespace CL.Business.Entity
{
    /// <summary>
    /// UN_Notice 实体
    /// </summary>
    [Table("UN_Notice")]
    public class NoticeEntity
    {
        [Key]
        public int NoticeID { set; get; }
        /// <summary>
        /// 代理账号标识
        /// </summary>
        public int AccountID { set; get; }
        /// <summary>
        /// 消息标题
        /// </summary>
        public string NoticeTitle { set; get; }
        /// <summary>
        /// 消息类型
        /// </summary>
        public int NoticeType { set; get; }
        /// <summary>
        /// 消息内容
        /// </summary>
        public string NoticeContent { set; get; }
        /// <summary>
        /// 是否阅读
        /// </summary>
        public bool IsRead { set; get; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime SendTime { set; get; }
        /// <summary>
        /// 阅读时间
        /// </summary>
        public DateTime ReadTime { set; get; }
    }
}
